package com.example.demo.enums;

public enum YesNoEnum {
	YES("Y", "是"), NO("N", "否");
	private String code;
	private String msg;

	private YesNoEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

}
